<template>
    <div>
    <router-link
        v-for="item of list"
        :key="item.path"
        :to="{name:item.name}"
    >{{item.text}}</router-link>
    </div>        
</template>

<script>
import routes from '@/router/routes'
export default {
    data(){
        return {
            list:routes.filter(item=>item.isNav===true)
        }
    }
}
</script>

<style>

</style>
